package com.zhuanzhuan.hero.user.service;

import com.bj58.zhuanzhuan.zzentry.common.service.entity.ServiceHeaderEntity;
import com.zhuanzhuan.hero.user.dto.label.SaveUserBoundLevelLabelDTO;
import com.zhuanzhuan.hero.user.vo.label.UserBoundLevelLabelVO;

/**
 * @ClassName IUserLabelService
 * @Description  经营标签
 * @Author hanjunjun
 * @Date 2024/6/24 14:36
 */
public interface IUserManagementLabelService {

    /**
     * 查询用户已绑定的经营标签和一级标签下的子标签
     *
     * @param uid
     * @param labelType
     * @return com.zhuanzhuan.hero.user.vo.label.UserBoundLevelLabelVO
     * @author  hanjunjun
     * @date 2024/6/24
     **/
    UserBoundLevelLabelVO queryUserBoundLevelLabel(Long uid, Integer labelType);

    /**
     * 保存绑定标签
     *
     * @param uid
     * @param saveUserBoundLevelLabelDTO
     * @param header
     * @return void
     * @author  hanjunjun
     * @date 2024/6/24
     **/
    void saveUserBoundLevelLabel(Long uid, SaveUserBoundLevelLabelDTO saveUserBoundLevelLabelDTO,
        ServiceHeaderEntity header);
}
